Large Exponentiation Python